package com.itheima.abstractDemo2;

public class test {
    public static void main(String[] args) {
        Teacher t1=new Teacher("李老师",30,"女");
        Student s1=new Student("张三",18,"男");
        t1.write();
        s1.write();
    }
}
